<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>list</title>
</head>
<body>
  <h1 th:text="${msg}"></h1>
  <ul>
    <li th:each="a : ${list}">
      <span th:text="${a.id}"></span>
      <span th:text="${a.accountName}"></span>
      <span th:text="${a.money}"></span>
    </li>
  </ul>
</body>
</html>